export default defineAppConfig({
  pages: [
    "pages/home/index",
    "pages/product/index",
    "pages/shopCar/index",
    "pages/promotion/index",
    "pages/revenue/index",
    "pages/profile/index",
    "pages/login/index",
  ],
  subPackages: [
    {
      root: "packages",
      pages: [
        "orderConfirm/index",
        "orderConfirm/index1",
        "goodsDetail/index",
        "addressManager/index",
        "addressManager/add",
        "orderDetail/index",
        "packageApplication/index",
        "activity/index",
        "withdrawal/index",
        "promotionDetail/index",
        "discountCoupon/index",
        "register/index",
        "collection/index",
        "invoice/index",
        "invoice/add",
        "invoice/detail",
        "myOrder/index",
        "employee/index"
      ],
    },
  ],

  tabBar: {
    custom: true,
    color: "#000000",
    selectedColor: "#DC143C",
    backgroundColor: "#ffffff",
    list: [
      {
        pagePath: "pages/home/index",
        text: "首页",
      },
      {
        pagePath: "pages/product/index",
        text: "选品",
      },
      {
        pagePath: "pages/shopCar/index",
        text: "购物车",
      },
      {
        pagePath: "pages/promotion/index",
        text: "每日推广",
      },
      {
        pagePath: "pages/revenue/index",
        text: "订单收益",
      },
      {
        pagePath: "pages/profile/index",
        text: "我的",
      },
    ],
  },
  window: {
    backgroundTextStyle: "light",
    navigationBarBackgroundColor: "#e3f3fe",
    navigationBarTitleText: "WeChat",
    navigationBarTextStyle: "black",
  },
});
